package com.ruoyi.oss.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.oss.domain.SysOss;
import org.springframework.web.multipart.MultipartFile;

import jakarta.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface ISysOssService extends IService<SysOss> {
    void download(Long ossId, HttpServletResponse response) throws IOException;

    SysOss upload(MultipartFile file);
}
